home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global brushColor, squiggleSprite
- set marker to (getAt(the clickLoc, 2) / 23) + 1
- puppetSound(the name of cast (the number of cast "Piano G" + marker - 1))
- updateStage()
- set brushColor to value(word marker of field "colors")
- set the castNum of sprite squiggleSprite to random(7) - 1 + the number of cast "first doodle"
- updateBrush()
- updateStage()
- end
-